<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.hengpeng.itfints.tools.PageUtil" %>
<%@include file="/page/common/public.jspf"%>
<% 
	PageUtil pageUtil = (PageUtil)request.getAttribute("PageUtil");
%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="${path }/favicon.ico" />
<link rel="stylesheet" type="text/css" href="${path}/css/base.css"/>
<link rel="stylesheet" type="text/css" href="${path}/css/layout.css"/>
<link href="${skin }/theme.css" rel="stylesheet" type="text/css" />
<link href="${skin }/member.css" rel="stylesheet" type="text/css" />
<script src="${path }/js/common/jquery1.10.2.min.js"></script>
<script src="${path }/js/common/helper.js?v=${v}"></script>
<script src="${path }/js/common/cookie.js?v=${v}"></script>
<title>会员中心-收款计划</title>
<style type="text/css">
body{background:#F5F5F5;}
.logo_main_bor{box-shadow: 0px 2px 6px rgba(2, 0, 0, 0.1);}
</style>
</head>

<body bgcolor="#f9f9f9">
        <!-- head -->
		<c:import url="../../include/top.jsp"></c:import>
    	<!--主体-->

<div class="youarehere">
	<div class="localtion"><a href="${path }/">首页</a> » 收款计划</div>
</div>

<div class="wrapper auto_height line_EAEAEA" style="background: #fff;margin-bottom: 20px;">
<c:import url="../left.jsp"></c:import>
<div class="bodyright l">
<div class="line_EAEAEA auto_height" style="background: #fff;margin-bottom: 20px;">
	<div style="padding: 12px">
		<div class="hkjh_top_ul1_li1div1">收款计划  &nbsp;&nbsp;&nbsp;&nbsp; <a href="javascript:history.go(-1);">《《返回</a></div>
	</div>
</div>

	<ul class="account_item_title">
		<li style="text-align:center;width:200px;">回款日期</li> 
		<li>月收本金</li>
		<li>月收利息</li> 
		<li>当前期数</li>  
		<li>总期数</li>
		<li>状态</li>
		<li style="width:86px;text-align:center;">合同</li>
	</ul>
	<div style="clear: both;"></div>
	<c:choose> 
	     <c:when test="${fn:length(myReceivePlanList) > 0}"> 
	      		<c:forEach items="${myReceivePlanList}" var="plan"  varStatus="vstatus">
					<c:choose>
			            <c:when test="${vstatus.index%2 == 0}">
			  				<ul class="account_item_title2">
								<li style="text-align:center;width:200px;">
									<c:choose> 
									     <c:when test="${empty plan.arrivalTime}">
									     	<fmt:formatDate value="${plan.receiveTime}" type="both" pattern="yyyy/MM/dd"/>
									     </c:when> 
									     <c:otherwise>
									     	<fmt:formatDate value="${plan.arrivalTime}" type="both" pattern="yyyy/MM/dd"/>
									     </c:otherwise>
								    </c:choose>
								</li>
								<li><fmt:formatNumber value="${plan.recBaseMoney/100}" type="currency" pattern="￥.00"/></li>
								<li><fmt:formatNumber value="${(plan.recInterestMoney + plan.recAddMoney)/100}" type="currency" pattern="￥.00"/></li>
								<li>${plan.curRecNum}</li>
								<li>${plan.totalRecNum}</li>
								<li>${plan.status.text}</li>
								<li style="width:86px;text-align:center;"><a href="#" class="d_blue">查看</a></li>
							</ul>
			            </c:when>
			            <c:otherwise>
			    			<ul class=account_item_title3>
								<li style="text-align:center;width:200px;">
									<c:choose> 
									     <c:when test="${empty plan.arrivalTime}">
									     	<fmt:formatDate value="${plan.receiveTime}" type="both" pattern="yyyy/MM/dd"/>
									     </c:when> 
									     <c:otherwise>
									     	<fmt:formatDate value="${plan.arrivalTime}" type="both" pattern="yyyy/MM/dd"/>
									     </c:otherwise>
								    </c:choose>
								</li>
								<li><fmt:formatNumber value="${plan.recBaseMoney/100}" type="currency" pattern="￥.00"/></li>
								<li><fmt:formatNumber value="${(plan.recInterestMoney + plan.recAddMoney)/100}" type="currency" pattern="￥.00"/></li>
								<li>${plan.curRecNum}</li>
								<li>${plan.totalRecNum}</li>
								<li>${plan.status.text}</li>
								<li style="width:86px;text-align:center;"><a href="#" class="d_blue">查看</a></li>
							</ul>
			            </c:otherwise>
			        </c:choose>
				</c:forEach>  
	     </c:when> 
	     <c:otherwise> 
	      		<div class="s_13">
					<div style="line-height: 60px; font-size: 16px; text-align: center;">暂无记录</div>
				</div>
	     </c:otherwise>
    </c:choose>
	<div class="clearfix section"></div>
	
<div class="paginations">
	<div class="page-bottom">
		
	</div>
</div>
        	
</div>
</div>

    	<!--foot-->
        <c:import url="../../include/foot.jsp"></c:import>
        <!--foot-->  
</body>
</html>